package com.ruoyi.system.service.impl;

import com.ruoyi.common.annotation.DataScope;
import com.ruoyi.common.core.domain.entity.SysEmp;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.system.mapper.SysEmpMapper;
import com.ruoyi.system.mapper.SysUserMapper;
import com.ruoyi.system.service.ISysEmpService;
import com.ruoyi.system.service.ISysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SysEmpServiceImpl implements ISysEmpService {
    @Autowired
    private SysEmpMapper empMapper;
    @Override
    @DataScope(deptAlias = "d", userAlias = "u")
    public List<SysEmp> selectEmpList(SysEmp emp) {
        return empMapper.selectEmpList(emp);
    }

}
